package sudoku.app;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;

public class MainMenuActivity extends Activity {

	Button easy, medium, hard, master;
	
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
		Log.d("Progress", "setting fullscreen");
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		
		easy = (Button) findViewById(R.id.buttonEasy);
		medium = (Button) findViewById(R.id.buttonMedium);
		hard = (Button) findViewById(R.id.buttonHard);
		master = (Button) findViewById(R.id.buttonMaster);
		Log.d("Progress", "setting buttons");
		
		easy.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				startActivity(new Intent("sudoku.app.GAMEACTIVITY"));
			}
		});
	}

	@Override
	protected void onPause() {
		// TODO Auto-generated method stub
		super.onPause();
	}

	@Override
	protected void onResume() {
		// TODO Auto-generated method stub
		super.onResume();
	}
}